// 登录
async function login() {
  const { data } = await userLogin("admin", "123456");
  console.log(data);
  localStorage.setItem("accessToken", data.data.accessToken);
  localStorage.setItem("refreshToken", data.data.refreshToken);
}

// 获取用户信息
async function userInfo() {
  const { data } = await [getUserInfo(), getUserInfo(), getUserInfo()];
  console.log(data);
}
